package com.haixiaoke.saas.cleaner.service;


import com.haixiaoke.saas.cleaner.domain.SweepProcessRecord;

import java.util.List;

/**
 * 打扫流程记录Service接口
 *
 * @author xiaoilong
 * @date 2024-05-11
 */
public interface ISweepProcessRecordService {
    /**
     * 查询打扫流程记录
     *
     * @param sweepProcessId 打扫流程记录主键
     * @return 打扫流程记录
     */
    SweepProcessRecord selectSweepProcessRecordBySweepProcessId(Long sweepProcessId);

    /**
     * 查询打扫流程记录列表
     *
     * @param sweepProcessRecord 打扫流程记录
     * @return 打扫流程记录集合
     */
    List<SweepProcessRecord> selectSweepProcessRecordList(SweepProcessRecord sweepProcessRecord);

    /**
     * 新增打扫流程记录
     *
     * @param sweepProcessRecord 打扫流程记录
     * @return 结果
     */
    int insertSweepProcessRecord(SweepProcessRecord sweepProcessRecord);

    /**
     * 修改打扫流程记录
     *
     * @param sweepProcessRecord 打扫流程记录
     * @return 结果
     */
    int updateSweepProcessRecord(SweepProcessRecord sweepProcessRecord);

    /**
     * 批量删除打扫流程记录
     *
     * @param sweepProcessIds 需要删除的打扫流程记录主键集合
     * @return 结果
     */
    int deleteSweepProcessRecordBySweepProcessIds(Long[] sweepProcessIds);

    /**
     * 删除打扫流程记录信息
     *
     * @param sweepProcessId 打扫流程记录主键
     * @return 结果
     */
    int deleteSweepProcessRecordBySweepProcessId(Long sweepProcessId);

    int insertSweepProcessRecordList(List<SweepProcessRecord> sweepProcessRecordList);

    int updateSweepProcessRecordList(List<SweepProcessRecord> sweepProcessRecordList);

    int updateSweepProcessRecordByHouseSweepIds(SweepProcessRecord sweepProcessRecord);
}
